package com.kgo.jwt.controller;

import com.kgo.jwt.entity.LoginEntity;
import com.kgo.jwt.sysparams.JWTParams;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author keepgoon
 * @Description: TODO
 * @date 2019/3/212:11
 */
@RestController
@CrossOrigin
public class UserController {
    @RequestMapping(value = "/user", produces = "text/plain;charset=UTF-8")
    public String userTest(){
        return "getUser";
    }
}
